package kv

import (
	"clean/infra/config"
	"clean/infra/repo"
	"clean/usecase"

	"github.com/gomodule/redigo/redis"
)

func init() {
	repo.Register("kv_redis", &repoDriver{})
}

type repoDriver struct {
}

func (repoDriver) Create(cfg config.Config) (*usecase.Repo, error) {
	c, err := redis.Dial("tcp", ":6379")
	if err != nil {
		return nil, err
	}
	repo, err := kv_
	return nil, nil
}
